Repository navigation
fix(cloudflare/container): rebuild Effect-native images when only guest code changes - #2971
Merged
Merged
Conversation
Contributor
|
Install the packages built from this commit: alchemypnpm install https://pkg.alchemy.run/alchemy/pr:2971:d717b1e@alchemy.run (17)pnpm install https://pkg.alchemy.run/@alchemy.run/better-auth/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/git/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/drizzle/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/acme/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/planetscale/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/neon/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/cloudflare/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/aws/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/domain/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/kubernetes/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/docker/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/redis/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/sql/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/cloudflare-runtime/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/frontend-frameworks/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/node-utils/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@alchemy.run/pkg/pr:2971:d717b1eTransitive Dependencies (9)pnpm install https://pkg.alchemy.run/@distilled.cloud/aws/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@distilled.cloud/acme/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@distilled.cloud/core/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@distilled.cloud/planetscale/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@distilled.cloud/neon/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@distilled.cloud/github/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@distilled.cloud/aws4signer/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@distilled.cloud/cloudflare/pr:2971:d717b1epnpm install https://pkg.alchemy.run/@distilled.cloud/iceberg/pr:2971:d717b1ePublished |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Container with
mainnow rebuilds its image when only its guest code changes. Before this fix, every plan after the first deploy wasnoop..makeputs the program inprops.exportsas an Effect.isResolvednever accepts an Effect, so the live diff returned before it compared the image hash. The engine then fell back to comparing props with Effects stripped, found no change, and plannednoop. The diff now runsstripEffectsfirst, as the Worker provider already does:The local provider already ignored
exportswhen it checked the image.Reported downstream in Effect-TS/janitor#177, which shipped this fix as a pnpm patch.